// Province.cpp : implementation file
//

#include "stdafx.h"
#include "LeaderGenerator.h"
#include "Province.h"
#include "afxdialogex.h"


// Province dialog

IMPLEMENT_DYNAMIC(Province, CDialogEx)

Province::Province(CWnd* pParent /*=NULL*/)
	: CDialogEx(IDD_DG_ARMY, pParent)
{

	EnableAutomation();

}

Province::~Province()
{
}

void Province::OnFinalRelease()
{
	// When the last reference for an automation object is released
	// OnFinalRelease is called.  The base class will automatically
	// deletes the object.  Add additional cleanup required for your
	// object before calling the base class.

	CDialogEx::OnFinalRelease();
}

void Province::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(Province, CDialogEx)
	ON_BN_CLICKED(IDOK, &Province::OnBnClickedOk)
END_MESSAGE_MAP()

BEGIN_DISPATCH_MAP(Province, CDialogEx)
END_DISPATCH_MAP()

// Note: we add support for IID_IProvince to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .IDL file.

// {FAE9497F-103A-47BC-A6FD-988543CF4B7B}
static const IID IID_IProvince =
{ 0xFAE9497F, 0x103A, 0x47BC, { 0xA6, 0xFD, 0x98, 0x85, 0x43, 0xCF, 0x4B, 0x7B } };

BEGIN_INTERFACE_MAP(Province, CDialogEx)
	INTERFACE_PART(Province, IID_IProvince, Dispatch)
END_INTERFACE_MAP()


// Province message handlers


void Province::OnBnClickedOk()
{

	CDialogEx::OnOK();
}

int readcsv(const CString& filename) 
{
	int ret = 0;
	





	return ret;
}